import request from '@/utils/request'

export function updateUserInfo(data) {
    return request({
        url: 'api/updateUserInfo',
        method: 'post',
        data
    })
}

export function updateAvatarV2(params) {
    return request({
        url: 'api/users/updateAvatarV2',
        method: 'get',
        params
    })
}
